
<ol class="breadcrumb">
  <li><a href="<?php echo $template->url->getLink('product');?>">All Products</a></li>
  <li><a href="<?php echo $template->url->getLink('product');?>">Category</a></li>
  <li class="active"><a href="<?php echo $template->url->getLink('product/view/'.$template->iId);?>"><?php echo $template->get('oCategory')->title;?></a></li>
</ol>

<?php if($template->get('aProducts') && count($template->get('aProducts'))) : ?>

    <div class="row">
        <?php foreach($template->get('aProducts') as $key => $aProduct) : ?>
            <div class="col-lg-3 col-md-4 col-sm-4 col-xs-12 col-sl-4 col-min-6 lb_box">
                <div class="lb_box_content">
                    <a href="<?php echo $template->url->getLink('product/view/'.$aProduct->product_id); ?>"><img src="<?php echo $template->url->getImageUrl($aProduct->image_url, 500); ?>"></a>
                    <div class="lb_box_info">
                        <?php echo $aProduct->title;?>
                    </div>
                </div>
            </div>
            <?php endforeach; ?>
    </div>
    <?php else : ?>
    <p class="bg-success lb_message">No product found.</p>
    <?php endif; ?>